/*
 * Serial.h
 *
 * Created: 4/10/2011 10:23:45
 *  Author: morpheus
 */ 


#ifndef XMEGASERIAL_H_
#define XMEGASERIAL_H_

#include <stdio.h>
#include <avr/io.h> 


//static int uart_putchar(char c, FILE *stream);
int uart_putc(char c);
void uart_init (uint32_t baud);
void uart_puts(const char *message);
uint8_t xmega_usart_setspeed (USART_t *usart, uint32_t baud);


#endif /* XMEGASERIAL_H_ */
